(Fdisplay_buffer): Use NILP.
authorAndreas Schwab <schwab@suse.de>
Mon, 16 Jul 2007 13:21:53 +0000 (13:21 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 16 Jul 2007 13:21:53 +0000 (13:21 +0000)
(Fset_window_scroll_bars): Likewise.

src/window.c

index 90e2e09da51f8e2e6439da15a2ec4c54d18b46bd..c32b1a34f7d1395fd60b51fcce9a51c95703c58c 100644 (file)
@@ -3757,7 +3757,7 @@ displayed.  */)
          if (!NILP (window)
              && ! FRAME_NO_SPLIT_P (XFRAME (XWINDOW (window)->frame))
              && (EQ (window, selected_window)
-                 || EQ (XWINDOW (window)->parent, Qnil))
+                 || NILP (XWINDOW (window)->parent))
              && window_height (window) >= split_height_threshold
              && (window_height (window)
                  >= (2 * window_min_size_2 (XWINDOW (window), 0))))
@@ -6909,7 +6909,7 @@ Fourth parameter HORIZONTAL-TYPE is currently unused.  */)
        vertical_type = Qnil;
     }
 
-  if (!(EQ (vertical_type, Qnil)
+  if (!(NILP (vertical_type)
        || EQ (vertical_type, Qleft)
        || EQ (vertical_type, Qright)
        || EQ (vertical_type, Qt)))